package com.sc.pojo;

import lombok.Data;
import lombok.ToString;

/**
 * @description: 公告
 * @author: hetao
 * @create: 2023-01-05 22:10
 **/
@Data
@ToString
public class Notice {

   private String  adminname	;
   private String  title	    ;
   private String  publishtime	;
   private String  information	;
   private int fieldid	    ;
   private int noticeid	;

    public Notice() {
    }

    public Notice(String adminname, String title, String publishtime, String information, int fieldid, int noticeid) {
        this.adminname = adminname;
        this.title = title;
        this.publishtime = publishtime;
        this.information = information;
        this.fieldid = fieldid;
        this.noticeid = noticeid;
    }

    public String getAdminname() {
        return adminname;
    }

    public void setAdminname(String adminname) {
        this.adminname = adminname;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPublishtime() {
        return publishtime;
    }

    public void setPublishtime(String publishtime) {
        this.publishtime = publishtime;
    }

    public String getInformation() {
        return information;
    }

    public void setInformation(String information) {
        this.information = information;
    }

    public int getFieldid() {
        return fieldid;
    }

    public void setFieldid(int fieldid) {
        this.fieldid = fieldid;
    }

    public int getNoticeid() {
        return noticeid;
    }

    public void setNoticeid(int noticeid) {
        this.noticeid = noticeid;
    }

    @Override
    public String toString() {
        return "Notice{" +
                "adminname='" + adminname + '\'' +
                ", title='" + title + '\'' +
                ", publishtime='" + publishtime + '\'' +
                ", information='" + information + '\'' +
                ", fieldid=" + fieldid +
                ", noticeid=" + noticeid +
                '}';
    }
}